package cc.jinglupeng.kom.util;

import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class EmptyWatch implements Watcher {

    private static Logger logger = LoggerFactory.getLogger(EmptyWatch.class);

    private static EmptyWatch emptyWatch = new EmptyWatch();

    public static EmptyWatch getInstance() {
        return emptyWatch;
    }

    @Override
    public void process(WatchedEvent event) {
        logger.info(event.toString());
    }
}